<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?= $this->SiteLanguage() == "ar" ? "dir='rtl'" : "" ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <?php
        if ($this->SiteLanguage() == "ar")
            echo $this->headLink()->appendStylesheet('/css/Style-ar.css');
        else
            echo $this->headLink()->appendStylesheet('/css/Style.css');
        ?>

        <? $this->headScript()->appendFile('http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js')
        ->appendFile('/js/example.js');
        if(Zend_Controller_Front::getInstance()->getRequest()->getControllerName() == 'gallery'){
           $this->headScript()->appendFile('/js/yoxview/yoxview-init.js')
        ->appendFile('/js/yoxview/jquery.yoxview-2.21.js');
        }  elseif (Zend_Controller_Front::getInstance()->getRequest()->getControllerName() == 'index') {
       $this->headScript()->appendFile('/js/s3Slider.js');
}
            
        echo $this->headScript(); ?>
<!--<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js'></script>
<script src='/js/jquery.color-RGBa-patch.js'></script>
<script src='/js/example.js'></script>-->
<!--<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="/js/yoxview/yoxview-init.js"/>
<script type="text/javascript" src="/js/yoxview/jquery.yoxview-2.21.js"/>-->
<?=$this->controller=='index'?'
<script type="text/javascript">
    $(document).ready(function() {
        $("#slider1").s3Slider({
            timeOut: 4000 
        });
    });
</script>':''; ?>

<?= $this->headTitle(); ?>

</head>
       

    <body <?=isset($this->controller)&& $this->controller=='contact'?'onload="load()" onunload="GUnload()"':''?>>
<div class="container"> 


                        <?php echo $this->render('header.phtml'); ?>

                            <?php echo $this->layout()->content; ?>

        <?php echo $this->render('footer.phtml'); ?>

</div>
    </body>
</html>
